<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/component/commonTagLib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>药品资审澄清结果查看（生产企业端）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui">
<link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<%@ include file="/WEB-INF/component/commonCSS.jsp"%>
<style type="text/css">
	#shclNs {
           position:fixed;
           left:0px;
           top:0px;
           width:100%;
           height:100%;
           opacity:0.75;
           -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=75)";
           filter:alpha(opacity=75);
           background-color: gray;
           margin:0px;
           padding:0px;
           z-index:999999;
           background:url('${ctx}/lib/img/loading.gif') no-repeat center center;
        }
</style>
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame" style="height:650px;overflow-y:scroll;"  >
<div id="shclNs" ></div>
<div class="box box-primary" id="more" style="width:110px;height:35px;background-color:#222c32;position:absolute;z-index:9999;left:850px;top:100px;display:none;font-size:12px;border-top-color:#222c32;">
            <div class="box-body home-message" id="moreOp" >
            </div>
</div>
    <section class="content-header">
        <h1>药品资审澄清结果查看</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">药品招标管理</a></li>
            <li class="active"><a href="#">投标药品信息管理</a></li>
            <li class="active"><a href="#">药品资审澄清查看</a></li>
        </ol>
</section>
<section class="content" >
<div class=" box box-success"  >
<div id="wrapper">
<div id="content" ></div>

<script id="test" type="text/html">
  {{each rows as row i}}
            <div class="col-xs-6 col-lg-4 hei">
                <div class="wrapper2 ">

                    <a id=""  href="javascript:showImg('{{row.profilePicAddr}}','{{row.profileName}}');" ><img class="img-responsive" border="0" src="${ctx}/{{row.profilePicShortcutAddr}}"></a>
                    <div class="row" style=" margin-left: -12;margin-left: -23px; height:10px;" >
                    </div>
                    <div class="row" style="margin-left:0px">
                        <div class="col-md-12">
                            <p class="pull-left">
                                <div class="productInfo" >&nbsp;编号:<span class="productInfo" name="profileCode" >{{row.profileCode}}</span></div>
                            </p>
                        </div>
                    </div>
                    <div class="row"  style="margin-left:0px">
                        <div class="col-md-12">
                            <p class="pull-left">
                                <div class="productInfo" >&nbsp;名称:<span class="productInfo" name="profileCode" >{{row.profileName}}</span></div>
                            </p>
                        </div>
                    </div>
                    <div class="row"  style="margin-left:0px">
                        <div class="col-md-12">
                            <p class="pull-left">
                                <div class="productInfo" >&nbsp;有效期:<span class="productInfo" name="profileTime" >&nbsp;{{row.profileStarttime}}&nbsp;&nbsp;至&nbsp;&nbsp;{{row.profileEndtime}}</span></div>
                            </p>
                        </div>
                    </div>
                    <div class="row"  style="margin-left:0px">
                        <div class="col-md-12">
                            <p class="pull-left">
                                <div class="productInfo" >&nbsp;状态:<span class="productInfo" name="complainStatus" >{{row.complainStatus | formatStatus}}</span></div>
                            </p>
                        </div>
                    </div>
                    <div class="row"  style="margin-left:0px">
                        <div class="col-md-12">
                            <p class="pull-left">
                                <div class="productInfo" >&nbsp;备注:<span class="productInfo" name="complainAuditRemark">{{row.complainAuditRemark}}</span></div>
                            </p>
                        </div>
                    </div>
                    
                </div>
            </div>
 {{/each}}
        </script>   
            
            
        </div>

<!-- div 展示的背景颜色 白色 -->
 <div class="row productall">
 </div>
 <!-- div 与 分隔线距离 -->
<div style="height:50px"></div> 
 
 
</div>

</section>
 
<div class="mainA">
<div class="mainB"></div>
<div class="mainC" style="background-color:#F39C12;" ></div>
<div class="main" >
    <a href="javascript:history.go(-1)" class="btn btn-danger btn-sm">返&nbsp;&nbsp;回</a>     
</div>
</div>

</body>
</html>
<%@ include file="/WEB-INF/component/commonJS.jsp"%>
<script type="text/javascript">

/*格式化启用/停用   用于页面显示*/
template.helper('formatStatus', function(data) {
   /*  return data == 1 ? "审核通过" : "未审核"; */
   if(data == 1){
       return "审核通过";
   }else if(data == 2){
       return "审核不通过";
   }else if(data == 0){
       return "未审核"
   }
   
   
}); 
var records = 0;//总条目
var postData = {"rows":6,"page":1};//rows 一页展示多少条   page当前页数
    $(function() {

        
        getList(postData);
        $(window).scroll(function() {
            if ($(document).scrollTop() >= $(document).height() - $(window).height()) {
                postData.page++;
                if (postData.page <=Math.ceil(records/postData.rows)) {
                    getList(postData);
                } 
            }
         });
});
    function getList(postData){
        $("#shclNs").show();
            $.post('${ctx}/prodDrugProfile/getDrugProfileComplainResultList.html?projId=${form.projId}&prodId=${form.prodId}',
                    postData, function(result) {
                        if (result.success) {
                            $("#shclNs").hide();
                            var html = template('test', result);
                            $('#content').append(html);
                            records=result.records;  //总条数
                        } else {
                            $.HN.message.alert("数据获取失败", '信息', 'error');
                        }
                    }, "json");
        }
    
    function showImg(imgPath,profileName) {
        var url = "${ctx}/acctInfo/toImg.html";
        $.HN.dialog.open({
            "id" : "showImg",
            "title" : profileName,
            "url" : url,
            "data" : {
            "imgPath" : imgPath
            },
            "width" : 800,
            "height" : 400,
            "closefunc" : function(params) {
                if (params) {

                }
            }
        });
    }
     
</script>